import IUserCenterUpdateBaseInfoForm from '@/model/form/userCenter/IUserCenterUpdateBaseInfoForm'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 修改用户基本信息
export default function userCenterUpdateBaseInfoApi(
  form: IUserCenterUpdateBaseInfoForm
) {
  return $http.post<
    IResVO,
    AxiosResponse<IResVO>,
    IUserCenterUpdateBaseInfoForm
  >('/userCenter/updateBaseInfo', form)
}
